ByeClock is a simple clock utility with a shut down function. It shuts down your Macintosh every day on a designated time.
I wrote this program to avoid leaving my Mac still running, getting a suggestion from my acquaintance. It definitely saves your Mac resources since it consumes only 96K bytes of memory on Power Macs (but it could run with approximately 48K under 68K Macs) and occupies CPU once ten seconds in background.
By the way, ByeClock, a very simple and small program, could run using only 32K byte memory at first. Now it requires 96K bytes as it has been enhanced including the requests from the users. I might not be able to incorporate your future requests because I hope to keep ByeClock to be yet a small and low resource consumption program.
2. How to use it?
2.1. Main Feature
Just launch it. You usually use it as a digital clock.
Set shut down time as you like using the メPreferences...モ dialog from the File menu. Then ByeClock turn your Mac off at the time you set. When you cancel shut down, ByeClock will retry shutdown after the interval time you set on メRetry asking when canceledモ field. You can set retry interval from 1 to 120 minutes.
If you would like to use ByeClock as a simple clock, turn the check box: メEnable Shut Down Timerモ OFF.
Tips: You can also open the メPreferencesモ dialog by double-clicking the clock window.
2.2. Location to Install
I recommend you to install ByeClock in the メStartup Itemsモ folder in your System folder. Then ByeClock will be launched at every startup. Of course, you can locate it at any place if you desire.
2.3. Shut Down Procedure
ByeClock always traces your mouse moving.
When the shut down time comes, if the mouse has NOT been moved during past ten minutes, then ByeClock shuts down your Macintosh immediately. If the mouse has been moved, ByeClock asks you if you really wish to turn off your Mac. If you cancel at this time, it retries shut down after the designated interval time. If you no longer want to see this confirmation dialog, turn the check box: メAsk when you still use Macモ OFF.
Shut Down confirmation dialog will automatically close as if OK button is pressed when you leave it longer than 10 minutes.
The ByeClock shut down method is implemented using AppleEvent that asks the Finder to execute shut down procedures. This is identical to selecting the メShut Downモ item in the メSpecialモ menu of the Finder.
2.4. Adjust Clock Window Size
You can choose two sizes, large or small, of clock window. To choose the size, click the grow box at the upper-right corner of the window. By letting it small, it occupies few spaces of your screen.
2.5. Display Font
From the version 0.6, you can select a display font you like. Default is set to Times. A clock shows times and the Times shows a clock. :-)
2.6. Display Options
You can set several display modes using the メPreferencesモ dialog.
・ Show date or not.
・ Blink second indicator or not. (It never blinks in background.)
2.7. Copy Date and Time Strings
By selecting メCopyモ item of メEditモ menu, you can copy current date and time strings into the clipboard. It is handy when you fill in the date and time in your document.
The formats of the strings follow the settings you set using the メDate & Timeモ control panel.
Copying while pressing shift key, only the date string is copied.
3. Required Environment
ByeClock is a FAT application. It runs under Macintosh Plus or greater.
ByeClock requires System 7 or later of MacOS.
ByeClock requires at least 48K bytes of memory on 68K Macs and 96K bytes on Power Macs. If you have installed, however, large amount of fonts, it may require more memory. It depends on your environment. Adjust memory size using the メGet Infoモ window of Finder if you meet any problems.
4. How much is it?
ByeClock is freeware. Itユs free of charge. You can make its copy and distribute it as far as non-commercial purposes.
The author, however, reserves all copyrights. Under the copyright laws, the author prohibits selling, lending, revising, modifying the ByeClock without the permission of the author.
5. About the attached source codes
I attached all source codes of ByeClock. Please refer to them if you are interested in Macintosh programming. For more details, read another document: メFor Programmers.モ
6. Contact Address
Please send e-mail or snail mail to the following address when you have any requests or questions.
E-Mail Address:
NIFTY-Serve: PXL01437@niftyserve.or.jp
Internet: rokkaku@roland.co.jp
Posting Address:
Fumio Rokkaku
1158-3-106, Hatsuoi-cho,
Hamamatsu, Shizuoka
JAPAN 433
7. Revision History
Version 0.8.2: May 10, 1996
Fixed a bug that did not show proper button frame of the Preferences dialog when resuming.
Version 0.8.1: April 25, 1996
Fixed a fatal bug that fails a new preferences file.
Version 0.8.0: April 25, 1996
Improved shutdown discrimination.
Version 0.7.2: December 16, 1995
Maintenance release, mainly for source code modification.
Version 0.7.1: December 10, 1995
Fixed still inappropriate memory sizes under the Power Macintosh.
Added auto closing function into Shut Down confirmation dialog.
Version 0.7.0: December 4, 1995
Become FAT application.
Fixed inappropriate memory sizes of the PPC version.
Version 0.6.0: October 24, 1995
Added Font selectable feature.
Added option whether to show date.
Added option whether to show blink per each second.
Changed icon appearance.
Version 0.5.0: September 17, 1995
Added option whether to confirm shutdown.
Made Preferences Dialog modeless.
Avoided conflict with Inline++TSM 2.0
Set sleep ticks to 10 seconds for faster response.
Version 0.4.0: September 7, 1995
Added option whether to execute shutdown.
Fixed a bug that retries shutdown one hour later instead of ten minutes.